package edu.sctu.xuping.month05.day20150510;

/**
 * Created by user16 on 2015/5/10.
 */
public class TextTwo {
    public int sum = 0;
    TextThree textthree = new TextThree();

    public TextThree getSum(TextOne textone) {
        textone.add = 34;
        for (int i = 0; i < textone.add; i++) {
            sum += i;
        }
        textthree.number = sum;
        return textthree;
    }
}
